﻿
import moduleUtils = require('./modules/ModuleUtils/ModuleUtils');

import fs = require('fs');

var moduleDirectory = new moduleUtils.ModuleDirectory(
    __dirname + '/../',
    __dirname + '/../Sustainalytics.ClientInterface.UI/modules/ShellModule/module.paths.json');


moduleDirectory.createAllModuleReferences();

console.log('finished');

//var moduleHost = new moduleUtils.ModuleHost(
//    __dirname + '/../Sustainalytics.ClientInterface.Service/fs-config.json',
//    __dirname + '/../Sustainalytics.ClientInterface.UI/modules/ShellModule/module.paths.json',
//    false);

//var regex1 = moduleHost.createRegexModuleJson();
//console.log('REGEX1', regex1);

//var regex2 = moduleHost.createRegexModuleAngular();
//console.log('REGEX2', regex2);